package server;

import java.io.File;
import java.rmi.RemoteException;
import java.rmi.server.UnicastRemoteObject;
import client.RMIServer;

public class ServerClient extends UnicastRemoteObject implements RMIServer
{
	private static final long serialVersionUID = -2579511584178799549L;

	ServerClient() throws RemoteException
	{
 		super();
  	}

	public File listOfSongs() throws RemoteException
	{
		File file = new File("FullMp3s.xml");
		return file;
	}

	public void addSongToPlaylist(String[] s) throws RemoteException
	{	
		System.out.println("Congrats, song added to playlist.");
	}
}